home *** CD-ROM | disk | FTP | other *** search
Unknown | 1998-01-30 | 7.3 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 00 00 00 25 25 00 45 | 78 61 6d 70 6c 65 3a 0d |%...%%.E|xample:.|
|00000010| 0a 64 65 6c 65 74 65 20 | 66 72 6f 6d 20 25 25 43 |.delete |from %%C|
|00000020| 68 69 6c 64 0d 0a 0d 0a | 45 78 70 61 6e 73 69 6f |hild....|Expansio|
|00000030| 6e 3a 0d 0a 64 65 6c 65 | 74 65 20 66 72 6f 6d 20 |n:..dele|te from |
|00000040| 25 43 68 69 6c 64 00 25 | 25 00 4c 6f 6f 6b 75 70 |%Child.%|%.Lookup|
|00000050| 00 01 00 25 4c 6f 6f 6b | 75 70 28 3c 66 69 6c 65 |...%Look|up(<file|
|00000060| 6e 61 6d 65 3e 2c 3c 65 | 78 70 72 3e 29 00 52 65 |name>,<e|xpr>).Re|
|00000070| 61 64 73 20 61 20 6c 6f | 6f 6b 75 70 20 74 61 62 |ads a lo|okup tab|
|00000080| 6c 65 20 66 72 6f 6d 20 | 74 68 65 20 66 69 6c 65 |le from |the file|
|00000090| 20 3c 66 69 6c 65 6e 61 | 6d 65 3e 2e 20 20 54 68 | <filena|me>. Th|
|000000a0| 65 20 66 69 6c 65 20 6d | 75 73 74 20 63 6f 6e 74 |e file m|ust cont|
|000000b0| 61 69 6e 20 74 77 6f 20 | 63 6f 6c 75 6d 6e 73 20 |ain two |columns |
|000000c0| 2d 20 74 68 65 20 66 69 | 72 73 74 20 63 6f 6e 74 |- the fi|rst cont|
|000000d0| 61 69 6e 69 6e 67 20 61 | 20 70 61 74 74 65 72 6e |aining a| pattern|
|000000e0| 20 73 74 72 69 6e 67 20 | 61 6e 64 20 74 68 65 20 | string |and the |
|000000f0| 73 65 63 6f 6e 64 20 63 | 6f 6e 74 61 69 6e 69 6e |second c|ontainin|
|00000100| 67 20 61 20 73 74 72 69 | 6e 67 20 74 6f 20 73 75 |g a stri|ng to su|
|00000110| 62 73 74 69 74 75 74 65 | 20 66 6f 72 20 74 68 65 |bstitute| for the|
|00000120| 20 70 61 74 74 65 72 6e | 2e 0d 0a 0d 0a 54 68 65 | pattern|.....The|
|00000130| 20 66 69 72 73 74 20 61 | 6e 64 20 73 65 63 6f 6e | first a|nd secon|
|00000140| 64 20 63 6f 6c 75 6d 6e | 73 20 61 72 65 20 64 65 |d column|s are de|
|00000150| 6c 69 6d 69 74 65 64 20 | 62 79 20 61 20 63 6f 6d |limited |by a com|
|00000160| 6d 61 20 61 6e 64 20 74 | 68 65 20 73 65 63 6f 6e |ma and t|he secon|
|00000170| 64 20 63 6f 6c 75 6d 6e | 20 69 73 20 65 6e 64 65 |d column| is ende|
|00000180| 64 20 62 79 20 61 20 63 | 61 72 72 69 61 67 65 20 |d by a c|arriage |
|00000190| 72 65 74 75 72 6e 2e 20 | 20 54 68 69 73 20 6d 61 |return. | This ma|
|000001a0| 63 72 6f 20 74 68 65 6e | 20 67 6f 65 73 20 74 68 |cro then| goes th|
|000001b0| 72 6f 75 67 68 20 65 61 | 63 68 20 72 6f 77 20 6f |rough ea|ch row o|
|000001c0| 66 20 74 68 65 20 6c 6f | 6f 6b 75 70 20 74 61 62 |f the lo|okup tab|
|000001d0| 6c 65 20 61 6e 64 20 72 | 65 70 6c 61 63 65 73 20 |le and r|eplaces |
|000001e0| 65 61 63 68 20 6f 63 63 | 75 72 72 65 6e 63 65 20 |each occ|urrence |
|000001f0| 6f 66 20 74 68 65 20 70 | 61 74 74 65 72 6e 20 77 |of the p|attern w|
|00000200| 69 74 68 20 74 68 65 20 | 73 75 62 73 74 69 74 75 |ith the |substitu|
|00000210| 74 65 20 76 61 6c 75 65 | 2e 0d 0a 0d 0a 42 61 73 |te value|.....Bas|
|00000220| 69 63 20 53 79 6e 74 61 | 78 3a 0d 0a 25 4c 6f 6f |ic Synta|x:..%Loo|
|00000230| 6b 75 70 28 3c 66 69 6c | 65 6e 61 6d 65 3e 2c 3c |kup(<fil|ename>,<|
|00000240| 65 78 70 72 3e 29 0d 0a | 00 25 4c 6f 6f 6b 75 70 |expr>)..|.%Lookup|
|00000250| 28 3c 66 69 6c 65 6e 61 | 6d 65 3e 2c 3c 65 78 70 |(<filena|me>,<exp|
|00000260| 72 3e 29 00 41 74 74 4e | 61 6d 65 00 02 00 25 41 |r>).AttN|ame...%A|
|00000270| 74 74 4e 61 6d 65 00 42 | 61 73 69 63 20 53 79 6e |ttName.B|asic Syn|
|00000280| 74 61 78 3a 0d 0a 25 41 | 74 74 4e 61 6d 65 0d 0a |tax:..%A|ttName..|
|00000290| 0d 0a 42 61 73 69 63 20 | 53 79 6e 74 61 78 20 45 |..Basic |Syntax E|
|000002a0| 78 61 6d 70 6c 65 3a 0d | 0a 25 46 6f 72 45 61 63 |xample:.|.%ForEac|
|000002b0| 68 41 74 74 28 29 20 7b | 0d 0a 20 20 20 20 25 41 |hAtt() {|.. %A|
|000002c0| 74 74 4e 61 6d 65 0d 0a | 7d 0d 0a 0d 0a 45 78 70 |ttName..|}....Exp|
|000002d0| 61 6e 73 69 6f 6e 3a 0d | 0a 6d 61 73 74 65 72 2d |ansion:.|.master-|
|000002e0| 6e 75 6d 62 65 72 0d 0a | 6d 6f 76 69 65 2d 63 6f |number..|movie-co|
|000002f0| 70 79 2d 6e 75 6d 62 65 | 72 0d 0a 67 65 6e 65 72 |py-numbe|r..gener|
|00000300| 61 6c 2d 63 6f 6e 64 69 | 74 69 6f 6e 0d 0a 00 25 |al-condi|tion...%|
|00000310| 41 74 74 4e 61 6d 65 00 | 50 61 72 65 6e 74 41 74 |AttName.|ParentAt|
|00000320| 74 73 00 03 00 25 50 61 | 72 65 6e 74 41 74 74 73 |ts...%Pa|rentAtts|
|00000330| 28 29 00 42 61 73 69 63 | 20 53 79 6e 74 61 78 3a |().Basic| Syntax:|
|00000340| 0d 0a 25 50 61 72 65 6e | 74 41 74 74 73 28 29 0d |..%Paren|tAtts().|
|00000350| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 20 |...Basic| Syntax |
|00000360| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 50 61 72 65 6e |Example:|..%Paren|
|00000370| 74 41 74 74 73 28 29 0d | 0a 45 78 70 61 6e 73 69 |tAtts().|.Expansi|
|00000380| 6f 6e 3a 0d 0a 6d 61 73 | 74 65 72 5f 6e 75 6d 62 |on:..mas|ter_numb|
|00000390| 65 72 2c 20 6d 6f 76 69 | 65 5f 63 6f 70 79 5f 6e |er, movi|e_copy_n|
|000003a0| 75 6d 62 65 72 2c 20 67 | 65 6e 65 72 61 6c 5f 63 |umber, g|eneral_c|
|000003b0| 6f 6e 64 69 74 69 6f 6e | 0d 0a 0d 0a 46 75 6c 6c |ondition|....Full|
|000003c0| 20 53 79 6e 74 61 78 3a | 0d 0a 25 50 61 72 65 6e | Syntax:|..%Paren|
|000003d0| 74 41 74 74 73 28 3c 73 | 65 70 61 72 61 74 6f 72 |tAtts(<s|eparator|
|000003e0| 3e 2c 3c 66 75 6e 63 74 | 69 6f 6e 3e 2c 3c 70 72 |>,<funct|ion>,<pr|
|000003f0| 65 66 69 78 3e 29 0d 0a | 0d 0a 46 75 6c 6c 20 53 |efix>)..|..Full S|
|00000400| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|00000410| 25 50 61 72 65 6e 74 41 | 74 74 73 28 22 20 6f 72 |%ParentA|tts(" or|
|00000420| 20 22 2c 75 70 64 61 74 | 69 6e 67 2c 25 50 61 72 | ",updat|ing,%Par|
|00000430| 65 6e 74 29 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |ent)..Ex|pansion:|
|00000440| 0d 0a 75 70 64 61 74 69 | 6e 67 28 4d 4f 56 49 45 |..updati|ng(MOVIE|
|00000450| 5f 43 4f 50 59 2e 6d 61 | 73 74 65 72 5f 6e 75 6d |_COPY.ma|ster_num|
|00000460| 62 65 72 29 20 6f 72 0d | 0a 75 70 64 61 74 69 6e |ber) or.|.updatin|
|00000470| 67 28 4d 4f 56 49 45 5f | 43 4f 50 59 2e 6d 6f 76 |g(MOVIE_|COPY.mov|
|00000480| 69 65 5f 63 6f 70 79 5f | 6e 75 6d 62 65 72 29 20 |ie_copy_|number) |
|00000490| 6f 72 20 75 70 64 61 74 | 69 6e 67 28 4d 4f 56 49 |or updat|ing(MOVI|
|000004a0| 45 5f 43 4f 50 59 2e 67 | 65 6e 65 72 61 6c 5f 63 |E_COPY.g|eneral_c|
|000004b0| 6f 6e 64 69 74 69 6f 6e | 29 00 25 50 61 72 65 6e |ondition|).%Paren|
|000004c0| 74 41 74 74 73 28 22 2c | 20 22 2c 2c 6e 65 77 5f |tAtts(",| ",,new_|
|000004d0| 29 00 50 61 72 65 6e 74 | 41 74 74 00 04 00 25 50 |).Parent|Att...%P|
|000004e0| 61 72 65 6e 74 41 74 74 | 28 29 00 42 61 73 69 63 |arentAtt|().Basic|
|000004f0| 20 53 79 6e 74 61 78 3a | 0d 0a 25 50 61 72 65 6e | Syntax:|..%Paren|
|00000500| 74 41 74 74 28 3c 61 74 | 74 72 69 62 75 74 65 20 |tAtt(<at|tribute |
|00000510| 6d 61 63 72 6f 3e 29 0d | 0a 0d 0a 42 61 73 69 63 |macro>).|...Basic|
|00000520| 20 53 79 6e 74 61 78 20 | 45 78 61 6d 70 6c 65 3a | Syntax |Example:|
|00000530| 0d 0a 25 46 6f 72 45 61 | 63 68 46 4b 41 74 74 28 |..%ForEa|chFKAtt(|
|00000540| 29 20 7b 25 50 61 72 65 | 6e 74 41 74 74 28 25 46 |) {%Pare|ntAtt(%F|
|00000550| 69 65 6c 64 4e 61 6d 65 | 29 7d 0d 0a 45 78 70 61 |ieldName|)}..Expa|
|00000560| 6e 73 69 6f 6e 3a 0d 0a | 6d 61 73 74 65 72 5f 6e |nsion:..|master_n|
|00000570| 75 6d 62 65 72 2c 20 6d | 6f 76 69 65 5f 63 6f 70 |umber, m|ovie_cop|
|00000580| 79 5f 6e 75 6d 62 65 72 | 00 25 50 61 72 65 6e 74 |y_number|.%Parent|
|00000590| 41 74 74 28 25 46 69 65 | 6c 64 4e 61 6d 65 29 00 |Att(%Fie|ldName).|
|000005a0| 50 61 72 65 6e 74 50 4b | 44 65 63 6c 00 05 00 25 |ParentPK|Decl...%|
|000005b0| 50 61 72 65 6e 74 50 4b | 44 65 63 6c 28 29 00 42 |ParentPK|Decl().B|
|000005c0| 61 73 69 63 20 53 79 6e | 74 61 78 3a 0d 0a 25 50 |asic Syn|tax:..%P|
|000005d0| 61 72 65 6e 74 50 4b 44 | 65 63 6c 28 3c 6f 6c 64 |arentPKD|ecl(<old|
|000005e0| 20 70 72 65 66 69 78 3e | 2c 3c 6e 65 77 20 70 72 | prefix>|,<new pr|
|000005f0| 65 66 69 78 3e 29 0d 0a | 0d 0a 42 61 73 69 63 20 |efix>)..|..Basic |
|00000600| 53 79 6e 74 61 78 20 45 | 78 61 6d 70 6c 65 3a 0d |Syntax E|xample:.|
|00000610| 0a 25 50 61 72 65 6e 74 | 50 4b 44 65 63 6c 28 2c |.%Parent|PKDecl(,|
|00000620| 6e 65 77 29 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |new)..Ex|pansion:|
|00000630| 0d 0a 6e 65 77 5f 6d 61 | 73 74 65 72 5f 6e 75 6d |..new_ma|ster_num|
|00000640| 62 65 72 20 49 4e 54 45 | 47 45 52 2c 0d 0a 6e 65 |ber INTE|GER,..ne|
|00000650| 77 5f 6d 6f 76 69 65 5f | 63 6f 70 79 5f 6e 75 6d |w_movie_|copy_num|
|00000660| 62 65 72 20 49 4e 54 45 | 47 45 52 0d 0a 0d 0a 46 |ber INTE|GER....F|
|00000670| 75 6c 6c 20 53 79 6e 74 | 61 78 3a 0d 0a 25 50 61 |ull Synt|ax:..%Pa|
|00000680| 72 65 6e 74 50 4b 44 65 | 63 6c 28 3c 6f 6c 64 20 |rentPKDe|cl(<old |
|00000690| 70 72 65 66 69 78 3e 2c | 3c 6e 65 77 20 70 72 65 |prefix>,|<new pre|
|000006a0| 66 69 78 3e 2c 3c 73 65 | 70 61 72 61 74 6f 72 3e |fix>,<se|parator>|
|000006b0| 2c 3c 61 74 74 72 69 62 | 75 74 65 2f 74 79 70 65 |,<attrib|ute/type|
|000006c0| 20 73 65 70 61 74 61 72 | 74 6f 72 3e 29 0d 0a 0d | sepatar|tor>)...|
|000006d0| 0a 46 75 6c 6c 20 53 79 | 6e 74 61 78 20 45 78 61 |.Full Sy|ntax Exa|
|000006e0| 6d 70 6c 65 3a 0d 0a 25 | 50 61 72 65 6e 74 50 4b |mple:..%|ParentPK|
|000006f0| 44 65 63 6c 28 2c 6e 65 | 77 2c 22 2c 20 22 2c 49 |Decl(,ne|w,", ",I|
|00000700| 4e 29 0d 0a 45 78 70 61 | 6e 73 69 6f 6e 3a 0d 0a |N)..Expa|nsion:..|
|00000710| 6e 65 77 5f 6d 61 73 74 | 65 72 5f 6e 75 6d 62 65 |new_mast|er_numbe|
|00000720| 72 20 49 4e 20 49 4e 54 | 45 47 45 52 2c 0d 0a 6e |r IN INT|EGER,..n|
|00000730| 65 77 5f 6d 6f 76 69 65 | 5f 63 6f 70 79 5f 6e 75 |ew_movie|_copy_nu|
|00000740| 6d 62 65 72 20 49 4e 20 | 49 4e 54 45 47 45 52 00 |mber IN |INTEGER.|
|00000750| 25 50 61 72 65 6e 74 50 | 4b 44 65 63 6c 28 2c 6e |%ParentP|KDecl(,n|
|00000760| 65 77 29 00 50 61 72 65 | 6e 74 50 4b 00 06 00 25 |ew).Pare|ntPK...%|
|00000770| 50 61 72 65 6e 74 50 4b | 28 29 00 42 61 73 69 63 |ParentPK|().Basic|
|00000780| 20 53 79 6e 74 61 78 3a | 0d 0a 25 50 61 72 65 6e | Syntax:|..%Paren|
|00000790| 74 50 4b 28 29 0d 0a 0d | 0a 42 61 73 69 63 20 53 |tPK()...|.Basic S|
|000007a0| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|000007b0| 25 50 61 72 65 6e 74 50 | 4b 28 29 0d 0a 45 78 70 |%ParentP|K()..Exp|
|000007c0| 61 6e 73 69 6f 6e 3a 0d | 0a 6d 61 73 74 65 72 5f |ansion:.|.master_|
|000007d0| 6e 75 6d 62 65 72 2c 20 | 6d 6f 76 69 65 5f 63 6f |number, |movie_co|
|000007e0| 70 79 5f 6e 75 6d 62 65 | 72 2c 2e 2e 2e 0d 0a 0d |py_numbe|r,......|
|000007f0| 0a 46 75 6c 6c 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |.Full Sy|ntax:..%|
|00000800| 50 61 72 65 6e 74 50 4b | 28 3c 73 65 70 61 72 61 |ParentPK|(<separa|
|00000810| 74 6f 72 3e 2c 3c 66 75 | 6e 63 74 69 6f 6e 3e 2c |tor>,<fu|nction>,|
|00000820| 3c 70 72 65 66 69 78 3e | 29 0d 0a 0d 0a 46 75 6c |<prefix>|)....Ful|
|00000830| 6c 20 53 79 6e 74 61 78 | 20 45 78 61 6d 70 6c 65 |l Syntax| Example|
|00000840| 3a 0d 0a 25 50 61 72 65 | 6e 74 50 4b 28 22 20 6f |:..%Pare|ntPK(" o|
|00000850| 72 20 22 2c 75 70 64 61 | 74 69 6e 67 2c 25 50 61 |r ",upda|ting,%Pa|
|00000860| 72 65 6e 74 29 0d 0a 45 | 78 70 61 6e 73 69 6f 6e |rent)..E|xpansion|
|00000870| 3a 0d 0a 75 70 64 61 74 | 69 6e 67 28 4d 4f 56 49 |:..updat|ing(MOVI|
|00000880| 45 5f 43 4f 50 59 2e 6d | 61 73 74 65 72 5f 6e 75 |E_COPY.m|aster_nu|
|00000890| 6d 62 65 72 29 20 6f 72 | 0d 0a 75 70 64 61 74 69 |mber) or|..updati|
|000008a0| 6e 67 28 4d 4f 56 49 45 | 5f 43 4f 50 59 2c 6d 6f |ng(MOVIE|_COPY,mo|
|000008b0| 76 69 65 5f 63 6f 70 79 | 5f 6e 75 6d 62 65 72 29 |vie_copy|_number)|
|000008c0| 2e 2e 2e 00 25 50 61 72 | 65 6e 74 50 4b 28 22 20 |....%Par|entPK(" |
|000008d0| 6f 72 20 22 2c 75 70 64 | 61 74 69 6e 67 29 00 50 |or ",upd|ating).P|
|000008e0| 61 72 65 6e 74 4e 4b 44 | 65 63 6c 00 07 00 25 50 |arentNKD|ecl...%P|
|000008f0| 61 72 65 6e 74 4e 4b 44 | 65 63 6c 28 29 00 42 61 |arentNKD|ecl().Ba|
|00000900| 73 69 63 20 53 79 6e 74 | 61 78 3a 0d 0a 25 50 61 |sic Synt|ax:..%Pa|
|00000910| 72 65 6e 74 4e 4b 44 65 | 63 6c 28 3c 6f 6c 64 20 |rentNKDe|cl(<old |
|00000920| 70 72 65 66 69 78 3e 2c | 3c 6e 65 77 20 70 72 65 |prefix>,|<new pre|
|00000930| 66 69 78 3e 29 0d 0a 0d | 0a 42 61 73 69 63 20 53 |fix>)...|.Basic S|
|00000940| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|00000950| 25 50 61 72 65 6e 74 4e | 4b 44 65 63 6c 28 2c 6e |%ParentN|KDecl(,n|
|00000960| 65 77 29 0d 0a 45 78 70 | 61 6e 73 69 6f 6e 3a 0d |ew)..Exp|ansion:.|
|00000970| 0a 6e 65 77 5f 67 65 6e | 65 72 61 6c 5f 63 6f 6e |.new_gen|eral_con|
|00000980| 64 69 74 69 6f 6e 20 56 | 41 52 43 48 41 52 28 31 |dition V|ARCHAR(1|
|00000990| 30 29 0d 0a 46 75 6c 6c | 20 53 79 6e 74 61 78 3a |0)..Full| Syntax:|
|000009a0| 0d 0a 25 50 61 72 65 6e | 74 4e 4b 44 65 63 6c 28 |..%Paren|tNKDecl(|
|000009b0| 3c 6f 6c 64 20 70 72 65 | 66 69 78 3e 2c 3c 6e 65 |<old pre|fix>,<ne|
|000009c0| 77 20 70 72 65 66 69 78 | 3e 2c 3c 73 65 70 61 72 |w prefix|>,<separ|
|000009d0| 61 74 6f 72 3e 2c 3c 61 | 74 74 72 69 62 75 74 65 |ator>,<a|ttribute|
|000009e0| 2f 74 79 70 65 20 73 65 | 70 61 72 61 74 6f 72 3e |/type se|parator>|
|000009f0| 29 0d 0a 0d 0a 46 75 6c | 6c 20 53 79 6e 74 61 78 |)....Ful|l Syntax|
|00000a00| 20 45 78 61 6d 70 6c 65 | 3a 0d 0a 25 50 61 72 65 | Example|:..%Pare|
|00000a10| 6e 74 4e 4b 44 65 63 6c | 28 2c 6e 65 77 2c 22 2c |ntNKDecl|(,new,",|
|00000a20| 20 22 2c 49 4e 29 0d 0a | 45 78 70 61 6e 73 69 6f | ",IN)..|Expansio|
|00000a30| 6e 3a 0d 0a 6e 65 77 5f | 67 65 6e 65 72 61 6c 5f |n:..new_|general_|
|00000a40| 63 6f 6e 64 69 74 69 6f | 6e 20 49 4e 20 56 41 52 |conditio|n IN VAR|
|00000a50| 43 48 41 52 28 31 30 29 | 00 25 50 61 72 65 6e 74 |CHAR(10)|.%Parent|
|00000a60| 4e 4b 44 65 63 6c 28 2c | 6e 65 77 29 00 50 61 72 |NKDecl(,|new).Par|
|00000a70| 65 6e 74 4e 4b 00 08 00 | 25 50 61 72 65 6e 74 4e |entNK...|%ParentN|
|00000a80| 4b 28 29 00 42 61 73 69 | 63 20 53 79 6e 74 61 78 |K().Basi|c Syntax|
|00000a90| 3a 0d 0a 25 50 61 72 65 | 6e 74 4e 4b 28 29 0d 0a |:..%Pare|ntNK()..|
|00000aa0| 0d 0a 42 61 73 69 63 20 | 53 79 6e 74 61 78 20 45 |..Basic |Syntax E|
|00000ab0| 78 61 6d 70 6c 65 3a 0d | 0a 25 50 61 72 65 6e 74 |xample:.|.%Parent|
|00000ac0| 4e 4b 28 29 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |NK()..Ex|pansion:|
|00000ad0| 0d 0a 67 65 6e 65 72 61 | 6c 5f 63 6f 6e 64 69 74 |..genera|l_condit|
|00000ae0| 69 6f 6e 0d 0a 0d 0a 46 | 75 6c 6c 20 53 79 6e 74 |ion....F|ull Synt|
|00000af0| 61 78 3a 0d 0a 25 50 61 | 72 65 6e 74 4e 4b 28 3c |ax:..%Pa|rentNK(<|
|00000b00| 73 65 70 61 72 61 74 6f | 72 3e 2c 3c 66 75 6e 63 |separato|r>,<func|
|00000b10| 74 69 6f 6e 3e 2c 3c 70 | 72 65 66 69 78 3e 29 0d |tion>,<p|refix>).|
|00000b20| 0a 0d 0a 46 75 6c 6c 20 | 53 79 6e 74 61 78 20 45 |...Full |Syntax E|
|00000b30| 78 61 6d 70 6c 65 3a 0d | 0a 25 50 61 72 65 6e 74 |xample:.|.%Parent|
|00000b40| 4e 4b 28 22 20 6f 72 20 | 22 2c 75 70 64 61 74 69 |NK(" or |",updati|
|00000b50| 6e 67 2c 25 50 61 72 65 | 6e 74 29 0d 0a 45 78 70 |ng,%Pare|nt)..Exp|
|00000b60| 61 6e 73 69 6f 6e 3a 0d | 0a 75 70 64 61 74 69 6e |ansion:.|.updatin|
|00000b70| 67 28 4d 4f 56 49 45 5f | 43 4f 50 59 2e 67 65 6e |g(MOVIE_|COPY.gen|
|00000b80| 65 72 61 6c 5f 63 6f 6e | 64 69 74 69 6f 6e 29 00 |eral_con|dition).|
|00000b90| 25 50 61 72 65 6e 74 4e | 4b 28 29 00 43 68 69 6c |%ParentN|K().Chil|
|00000ba0| 64 50 4b 44 65 63 6c 00 | 09 00 25 43 68 69 6c 64 |dPKDecl.|..%Child|
|00000bb0| 50 4b 44 65 63 6c 28 29 | 00 42 61 73 69 63 20 53 |PKDecl()|.Basic S|
|00000bc0| 79 6e 74 61 78 3a 0d 0a | 25 43 68 69 6c 64 50 4b |yntax:..|%ChildPK|
|00000bd0| 44 65 63 6c 28 3c 6f 6c | 64 20 70 72 65 66 69 78 |Decl(<ol|d prefix|
|00000be0| 3e 2c 3c 6e 65 77 20 70 | 72 65 66 69 78 3e 29 0d |>,<new p|refix>).|
|00000bf0| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 20 |...Basic| Syntax |
|00000c00| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 43 68 69 6c 64 |Example:|..%Child|
|00000c10| 50 4b 44 65 63 6c 28 2c | 6e 65 77 29 0d 0a 45 78 |PKDecl(,|new)..Ex|
|00000c20| 70 61 6e 73 69 6f 6e 3a | 0d 0a 6e 65 77 5f 72 65 |pansion:|..new_re|
|00000c30| 6e 74 69 6e 67 5f 63 75 | 73 74 6f 6d 65 72 20 49 |nting_cu|stomer I|
|00000c40| 4e 54 45 47 45 52 2c 0d | 0a 6e 65 77 5f 6d 61 73 |NTEGER,.|.new_mas|
|00000c50| 74 65 72 5f 6e 75 6d 62 | 65 72 20 49 4e 54 45 47 |ter_numb|er INTEG|
|00000c60| 45 52 2c 0d 0a 6e 65 77 | 5f 6d 6f 76 69 65 5f 63 |ER,..new|_movie_c|
|00000c70| 6f 70 79 5f 6e 75 6d 62 | 65 72 20 49 4e 54 45 47 |opy_numb|er INTEG|
|00000c80| 45 52 2c 0d 0a 6e 65 77 | 5f 72 65 6e 74 61 6c 5f |ER,..new|_rental_|
|00000c90| 72 65 63 6f 72 64 5f 64 | 61 74 65 20 44 41 54 45 |record_d|ate DATE|
|00000ca0| 0d 0a 0d 0a 46 75 6c 6c | 20 53 79 6e 74 61 78 3a |....Full| Syntax:|
|00000cb0| 0d 0a 25 43 68 69 6c 64 | 50 4b 44 65 63 6c 28 3c |..%Child|PKDecl(<|
|00000cc0| 6f 6c 64 20 70 72 65 66 | 69 78 3e 2c 3c 6e 65 77 |old pref|ix>,<new|
|00000cd0| 20 70 72 65 66 69 78 3e | 2c 3c 73 65 70 61 72 61 | prefix>|,<separa|
|00000ce0| 74 6f 72 3e 2c 3c 61 74 | 74 72 69 62 75 74 65 2f |tor>,<at|tribute/|
|00000cf0| 74 79 70 65 20 73 65 70 | 61 72 61 74 6f 72 3e 29 |type sep|arator>)|
|00000d00| 0d 0a 0d 0a 46 75 6c 6c | 20 53 79 6e 74 61 78 20 |....Full| Syntax |
|00000d10| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 43 68 69 6c 64 |Example:|..%Child|
|00000d20| 50 4b 44 65 63 6c 28 2c | 6e 65 77 2c 22 2c 20 22 |PKDecl(,|new,", "|
|00000d30| 29 0d 0a 45 78 70 61 6e | 73 69 6f 6e 3a 0d 0a 6e |)..Expan|sion:..n|
|00000d40| 65 77 5f 72 65 6e 74 69 | 6e 67 5f 63 75 73 74 6f |ew_renti|ng_custo|
|00000d50| 6d 65 72 20 49 4e 20 49 | 4e 54 45 47 45 52 2c 0d |mer IN I|NTEGER,.|
|00000d60| 0a 6e 65 77 5f 6d 61 73 | 74 65 72 5f 6e 75 6d 62 |.new_mas|ter_numb|
|00000d70| 65 72 20 49 4e 20 49 4e | 54 45 47 45 52 2c 0d 0a |er IN IN|TEGER,..|
|00000d80| 6e 65 77 5f 6d 6f 76 69 | 65 5f 63 6f 70 79 5f 6e |new_movi|e_copy_n|
|00000d90| 75 6d 62 65 72 20 49 4e | 20 49 4e 54 45 47 45 52 |umber IN| INTEGER|
|00000da0| 2c 0d 0a 6e 65 77 5f 72 | 65 6e 74 61 6c 5f 72 65 |,..new_r|ental_re|
|00000db0| 63 6f 72 64 5f 64 61 74 | 65 20 49 4e 20 44 41 54 |cord_dat|e IN DAT|
|00000dc0| 45 00 25 43 68 69 6c 64 | 50 4b 44 65 63 6c 28 6f |E.%Child|PKDecl(o|
|00000dd0| 6c 64 2c 6e 65 77 29 00 | 43 68 69 6c 64 50 4b 00 |ld,new).|ChildPK.|
|00000de0| 0a 00 25 43 68 69 6c 64 | 50 4b 28 29 00 42 61 73 |..%Child|PK().Bas|
|00000df0| 69 63 20 53 79 6e 74 61 | 78 3a 0d 0a 25 43 68 69 |ic Synta|x:..%Chi|
|00000e00| 6c 64 50 4b 28 29 0d 0a | 0d 0a 42 61 73 69 63 20 |ldPK()..|..Basic |
|00000e10| 53 79 6e 74 61 78 20 45 | 78 61 6d 70 6c 65 3a 0d |Syntax E|xample:.|
|00000e20| 0a 25 43 68 69 6c 64 50 | 4b 28 29 0d 0a 45 78 70 |.%ChildP|K()..Exp|
|00000e30| 61 6e 73 69 6f 6e 3a 0d | 0a 72 65 6e 74 69 6e 67 |ansion:.|.renting|
|00000e40| 5f 63 75 73 74 6f 6d 65 | 72 2c 20 6d 61 73 74 65 |_custome|r, maste|
|00000e50| 72 5f 6e 75 6d 62 65 72 | 2c 20 6d 6f 76 69 65 5f |r_number|, movie_|
|00000e60| 63 6f 70 79 5f 6e 75 6d | 62 65 72 2c 20 72 65 6e |copy_num|ber, ren|
|00000e70| 74 61 6c 5f 72 65 63 6f | 72 64 5f 64 61 74 65 0d |tal_reco|rd_date.|
|00000e80| 0a 0d 0a 46 75 6c 6c 20 | 53 79 6e 74 61 78 3a 0d |...Full |Syntax:.|
|00000e90| 0a 25 43 68 69 6c 64 50 | 4b 28 3c 73 65 70 61 72 |.%ChildP|K(<separ|
|00000ea0| 61 74 6f 72 3e 2c 3c 66 | 75 6e 63 74 69 6f 6e 3e |ator>,<f|unction>|
|00000eb0| 2c 3c 70 72 65 66 69 78 | 3e 29 0d 0a 0d 0a 46 75 |,<prefix|>)....Fu|
|00000ec0| 6c 6c 20 53 79 6e 74 61 | 78 20 45 78 61 6d 70 6c |ll Synta|x Exampl|
|00000ed0| 65 3a 0d 0a 25 43 68 69 | 6c 64 50 4b 28 22 20 6f |e:..%Chi|ldPK(" o|
|00000ee0| 72 20 22 2c 75 70 64 61 | 74 69 6e 67 2c 25 43 68 |r ",upda|ting,%Ch|
|00000ef0| 69 6c 64 29 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |ild)..Ex|pansion:|
|00000f00| 0d 0a 75 70 64 61 74 69 | 6e 67 28 4d 4f 56 49 45 |..updati|ng(MOVIE|
|00000f10| 5f 52 45 4e 54 41 4c 5f | 52 45 43 4f 52 2e 72 65 |_RENTAL_|RECOR.re|
|00000f20| 6e 74 69 6e 67 5f 63 75 | 73 74 6f 6d 65 72 29 20 |nting_cu|stomer) |
|00000f30| 6f 72 0d 0a 75 70 64 61 | 74 69 6e 67 28 4d 4f 56 |or..upda|ting(MOV|
|00000f40| 49 45 5f 52 45 4e 54 41 | 4c 5f 52 45 43 4f 52 2e |IE_RENTA|L_RECOR.|
|00000f50| 6d 61 73 74 65 72 5f 6e | 75 6d 62 65 72 29 20 6f |master_n|umber) o|
|00000f60| 72 0d 0a 75 70 64 61 74 | 69 6e 67 28 4d 4f 56 49 |r..updat|ing(MOVI|
|00000f70| 45 5f 52 45 4e 54 41 4c | 5f 52 45 43 4f 52 2e 6d |E_RENTAL|_RECOR.m|
|00000f80| 6f 76 69 65 5f 63 6f 70 | 79 5f 6e 75 6d 62 65 72 |ovie_cop|y_number|
|00000f90| 29 20 6f 72 0d 0a 75 70 | 64 61 74 69 6e 67 28 4d |) or..up|dating(M|
|00000fa0| 4f 56 49 45 5f 52 45 4e | 54 41 4c 5f 52 45 43 4f |OVIE_REN|TAL_RECO|
|00000fb0| 52 2e 72 65 6e 74 61 6c | 5f 72 65 63 6f 72 64 5f |R.rental|_record_|
|00000fc0| 64 61 74 65 29 00 25 43 | 68 69 6c 64 50 4b 28 22 |date).%C|hildPK("|
|00000fd0| 20 6f 72 20 22 2c 75 70 | 64 61 74 69 6e 67 29 00 | or ",up|dating).|
|00000fe0| 43 68 69 6c 64 46 4b 44 | 65 63 6c 00 0b 00 25 43 |ChildFKD|ecl...%C|
|00000ff0| 68 69 6c 64 46 4b 44 65 | 63 6c 28 29 00 42 61 73 |hildFKDe|cl().Bas|
|00001000| 69 63 20 53 79 6e 74 61 | 78 3a 0d 0a 25 43 68 69 |ic Synta|x:..%Chi|
|00001010| 6c 64 46 4b 44 65 63 6c | 28 3c 6f 6c 64 20 70 72 |ldFKDecl|(<old pr|
|00001020| 65 66 69 78 3e 2c 3c 6e | 65 77 20 70 72 65 66 69 |efix>,<n|ew prefi|
|00001030| 78 3e 29 0d 0a 0d 0a 42 | 61 73 69 63 20 53 79 6e |x>)....B|asic Syn|
|00001040| 74 61 78 20 45 78 61 6d | 70 6c 65 3a 0d 0a 25 43 |tax Exam|ple:..%C|
|00001050| 68 69 6c 64 46 4b 44 65 | 63 6c 28 2c 6e 65 77 29 |hildFKDe|cl(,new)|
|00001060| 0d 0a 45 78 70 61 6e 73 | 69 6f 6e 3a 0d 0a 6e 65 |..Expans|ion:..ne|
|00001070| 77 5f 6d 61 73 74 65 72 | 5f 6e 75 6d 62 65 72 20 |w_master|_number |
|00001080| 49 4e 54 45 47 45 52 2c | 0d 0a 6e 65 77 5f 6d 6f |INTEGER,|..new_mo|
|00001090| 76 69 65 5f 63 6f 70 79 | 5f 6e 75 6d 62 65 72 20 |vie_copy|_number |
|000010a0| 49 4e 54 45 47 45 52 0d | 0a 0d 0a 46 75 6c 6c 20 |INTEGER.|...Full |
|000010b0| 53 79 6e 74 61 78 3a 0d | 0a 25 43 68 69 6c 64 46 |Syntax:.|.%ChildF|
|000010c0| 4b 44 65 63 6c 28 3c 6f | 6c 64 20 70 72 65 66 69 |KDecl(<o|ld prefi|
|000010d0| 78 3e 2c 3c 6e 65 77 20 | 70 72 65 66 69 78 3e 2c |x>,<new |prefix>,|
|000010e0| 3c 73 65 70 61 72 61 74 | 6f 72 3e 2c 3c 61 74 74 |<separat|or>,<att|
|000010f0| 72 69 62 75 74 65 2f 74 | 79 70 65 20 73 65 70 61 |ribute/t|ype sepa|
|00001100| 72 61 74 6f 72 3e 29 0d | 0a 0d 0a 46 75 6c 6c 20 |rator>).|...Full |
|00001110| 53 79 6e 74 61 78 20 45 | 78 61 6d 70 6c 65 3a 0d |Syntax E|xample:.|
|00001120| 0a 25 43 68 69 6c 64 46 | 4b 44 65 63 6c 28 2c 6e |.%ChildF|KDecl(,n|
|00001130| 65 77 2c 22 2c 20 22 2c | 49 4e 29 0d 0a 45 78 70 |ew,", ",|IN)..Exp|
|00001140| 61 6e 73 69 6f 6e 3a 0d | 0a 6e 65 77 5f 6d 61 73 |ansion:.|.new_mas|
|00001150| 74 65 72 5f 6e 75 6d 62 | 65 72 20 49 4e 20 49 4e |ter_numb|er IN IN|
|00001160| 54 45 47 45 52 2c 0d 0a | 6e 65 77 5f 6d 6f 76 69 |TEGER,..|new_movi|
|00001170| 65 5f 63 6f 70 79 5f 6e | 75 6d 62 65 72 20 49 4e |e_copy_n|umber IN|
|00001180| 20 49 4e 54 45 47 45 52 | 00 25 43 68 69 6c 64 46 | INTEGER|.%ChildF|
|00001190| 4b 44 65 63 6c 28 2c 6e | 65 77 29 00 43 68 69 6c |KDecl(,n|ew).Chil|
|000011a0| 64 46 4b 00 0c 00 25 43 | 68 69 6c 64 46 4b 28 29 |dFK...%C|hildFK()|
|000011b0| 00 42 61 73 69 63 20 53 | 79 6e 74 61 78 3a 0d 0a |.Basic S|yntax:..|
|000011c0| 25 43 68 69 6c 64 46 4b | 28 29 0d 0a 0d 0a 42 61 |%ChildFK|()....Ba|
|000011d0| 73 69 63 20 53 79 6e 74 | 61 78 20 45 78 61 6d 70 |sic Synt|ax Examp|
|000011e0| 6c 65 3a 0d 0a 25 43 68 | 69 6c 64 46 4b 28 29 0d |le:..%Ch|ildFK().|
|000011f0| 0a 45 78 70 61 6e 73 69 | 6f 6e 3a 0d 0a 6d 61 73 |.Expansi|on:..mas|
|00001200| 74 65 72 5f 6e 75 6d 62 | 65 72 2c 20 6d 6f 76 69 |ter_numb|er, movi|
|00001210| 65 5f 63 6f 70 79 5f 6e | 75 6d 62 65 72 2c 2e 2e |e_copy_n|umber,..|
|00001220| 2e 0d 0a 0d 0a 46 75 6c | 6c 20 53 79 6e 74 61 78 |.....Ful|l Syntax|
|00001230| 3a 0d 0a 25 43 68 69 6c | 64 46 4b 28 3c 73 65 70 |:..%Chil|dFK(<sep|
|00001240| 61 72 61 74 6f 72 3e 2c | 3c 66 75 6e 63 74 69 6f |arator>,|<functio|
|00001250| 6e 3e 2c 3c 70 72 65 66 | 69 78 3e 29 0d 0a 0d 0a |n>,<pref|ix>)....|
|00001260| 46 75 6c 6c 20 53 79 6e | 74 61 78 20 45 78 61 6d |Full Syn|tax Exam|
|00001270| 70 6c 65 3a 0d 0a 25 43 | 68 69 6c 64 46 4b 28 22 |ple:..%C|hildFK("|
|00001280| 20 6f 72 20 22 2c 75 70 | 64 61 74 69 6e 67 25 43 | or ",up|dating%C|
|00001290| 68 69 6c 64 29 0d 0a 45 | 78 70 61 6e 73 69 6f 6e |hild)..E|xpansion|
|000012a0| 3a 0d 0a 75 70 64 61 74 | 69 6e 67 28 4d 4f 56 49 |:..updat|ing(MOVI|
|000012b0| 45 5f 52 45 4e 54 41 4c | 5f 52 45 43 4f 52 2e 6d |E_RENTAL|_RECOR.m|
|000012c0| 61 73 74 65 72 5f 6e 75 | 6d 62 65 72 29 20 6f 72 |aster_nu|mber) or|
|000012d0| 0d 0a 75 70 64 61 74 69 | 6e 67 28 4d 4f 56 49 45 |..updati|ng(MOVIE|
|000012e0| 5f 52 45 4e 54 41 4c 5f | 52 45 43 4f 52 2e 6d 6f |_RENTAL_|RECOR.mo|
|000012f0| 76 69 65 5f 63 6f 70 79 | 5f 6e 75 6d 62 65 72 29 |vie_copy|_number)|
|00001300| 2e 2e 2e 00 25 43 68 69 | 6c 64 46 4b 28 22 20 6f |....%Chi|ldFK(" o|
|00001310| 72 20 22 2c 75 70 64 61 | 74 69 6e 67 29 00 43 68 |r ",upda|ting).Ch|
|00001320| 69 6c 64 4e 4b 44 65 63 | 6c 00 0d 00 25 43 68 69 |ildNKDec|l...%Chi|
|00001330| 6c 64 4e 4b 44 65 63 6c | 28 29 00 42 61 73 69 63 |ldNKDecl|().Basic|
|00001340| 20 53 79 6e 74 61 78 3a | 0d 0a 25 43 68 69 6c 64 | Syntax:|..%Child|
|00001350| 4e 4b 44 65 63 6c 28 3c | 6f 6c 64 20 70 72 65 66 |NKDecl(<|old pref|
|00001360| 69 78 3e 2c 3c 6e 65 77 | 20 70 72 65 66 69 78 3e |ix>,<new| prefix>|
|00001370| 29 0d 0a 0d 0a 42 61 73 | 69 63 20 53 79 6e 74 61 |)....Bas|ic Synta|
|00001380| 78 20 45 78 61 6d 70 6c | 65 3a 0d 0a 25 43 68 69 |x Exampl|e:..%Chi|
|00001390| 6c 64 4e 4b 44 65 63 6c | 28 2c 6e 65 77 29 0d 0a |ldNKDecl|(,new)..|
|000013a0| 45 78 70 61 6e 73 69 6f | 6e 3a 0d 0a 6e 65 77 5f |Expansio|n:..new_|
|000013b0| 72 65 6e 74 61 6c 5f 64 | 61 74 65 20 44 41 54 45 |rental_d|ate DATE|
|000013c0| 2c 0d 0a 6e 65 77 5f 64 | 75 65 5f 64 61 74 65 20 |,..new_d|ue_date |
|000013d0| 44 41 54 45 2c 2e 2e 2e | 0d 0a 0d 0a 46 75 6c 6c |DATE,...|....Full|
|000013e0| 20 53 79 6e 74 61 78 3a | 0d 0a 25 43 68 69 6c 64 | Syntax:|..%Child|
|000013f0| 4e 4b 44 65 63 6c 28 3c | 6f 6c 64 20 70 72 65 66 |NKDecl(<|old pref|
|00001400| 69 78 3e 2c 3c 6e 65 77 | 20 70 72 65 66 69 78 3e |ix>,<new| prefix>|
|00001410| 2c 3c 73 65 70 61 72 61 | 74 6f 72 3e 2c 3c 61 74 |,<separa|tor>,<at|
|00001420| 74 72 69 62 75 74 65 2f | 74 79 70 65 20 73 65 70 |tribute/|type sep|
|00001430| 61 72 61 74 6f 72 3e 29 | 0d 0a 0d 0a 46 75 6c 6c |arator>)|....Full|
|00001440| 20 53 79 6e 74 61 78 20 | 45 78 61 6d 70 6c 65 3a | Syntax |Example:|
|00001450| 0d 0a 25 43 68 69 6c 64 | 4e 4b 44 65 63 6c 28 2c |..%Child|NKDecl(,|
|00001460| 6e 65 77 2c 22 2c 20 22 | 2c 49 4e 29 0d 0a 45 78 |new,", "|,IN)..Ex|
|00001470| 70 61 6e 73 69 6f 6e 3a | 0d 0a 6e 65 77 5f 72 65 |pansion:|..new_re|
|00001480| 6e 74 61 6c 5f 64 61 74 | 65 20 49 4e 20 44 41 54 |ntal_dat|e IN DAT|
|00001490| 45 2c 0d 0a 6e 65 77 5f | 64 75 65 5f 64 61 74 65 |E,..new_|due_date|
|000014a0| 20 49 4e 20 44 41 54 45 | 2c 2e 2e 2e 00 25 43 68 | IN DATE|,....%Ch|
|000014b0| 69 6c 64 4e 4b 44 65 63 | 6c 28 6f 6c 64 2c 6e 65 |ildNKDec|l(old,ne|
|000014c0| 77 29 00 43 68 69 6c 64 | 4e 4b 00 0e 00 25 43 68 |w).Child|NK...%Ch|
|000014d0| 69 6c 64 4e 4b 28 29 00 | 42 61 73 69 63 20 53 79 |ildNK().|Basic Sy|
|000014e0| 6e 74 61 78 3a 0d 0a 25 | 43 68 69 6c 64 4e 4b 28 |ntax:..%|ChildNK(|
|000014f0| 29 0d 0a 0d 0a 42 61 73 | 69 63 20 53 79 6e 74 61 |)....Bas|ic Synta|
|00001500| 78 20 45 78 61 6d 70 6c | 65 3a 0d 0a 25 43 68 69 |x Exampl|e:..%Chi|
|00001510| 6c 64 4e 4b 28 29 0d 0a | 45 78 70 61 6e 73 69 6f |ldNK()..|Expansio|
|00001520| 6e 3a 0d 0a 72 65 6e 74 | 61 6c 5f 64 61 74 65 2c |n:..rent|al_date,|
|00001530| 20 64 75 65 5f 64 61 74 | 65 2c 2e 2e 2e 0d 0a 0d | due_dat|e,......|
|00001540| 0a 46 75 6c 6c 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |.Full Sy|ntax:..%|
|00001550| 43 68 69 6c 64 4e 4b 28 | 3c 73 65 70 61 72 61 74 |ChildNK(|<separat|
|00001560| 6f 72 3e 2c 3c 66 75 6e | 63 74 69 6f 6e 3e 2c 3c |or>,<fun|ction>,<|
|00001570| 70 72 65 66 69 78 3e 29 | 0d 0a 0d 0a 46 75 6c 6c |prefix>)|....Full|
|00001580| 20 53 79 6e 74 61 78 20 | 45 78 61 6d 70 6c 65 3a | Syntax |Example:|
|00001590| 0d 0a 25 43 68 69 6c 64 | 4e 4b 28 22 20 6f 72 20 |..%Child|NK(" or |
|000015a0| 22 2c 75 70 64 61 74 69 | 6e 67 2c 25 43 68 69 6c |",updati|ng,%Chil|
|000015b0| 64 29 0d 0a 45 78 70 61 | 6e 73 69 6f 6e 3a 0d 0a |d)..Expa|nsion:..|
|000015c0| 75 70 64 61 74 69 6e 67 | 28 4d 4f 56 49 45 5f 52 |updating|(MOVIE_R|
|000015d0| 45 4e 54 41 4c 5f 52 45 | 43 4f 52 2e 72 65 6e 74 |ENTAL_RE|COR.rent|
|000015e0| 61 6c 5f 64 61 74 65 29 | 20 6f 72 0d 0a 75 70 64 |al_date)| or..upd|
|000015f0| 61 74 69 6e 67 28 4d 4f | 56 49 45 5f 52 45 4e 54 |ating(MO|VIE_RENT|
|00001600| 41 4c 5f 52 45 43 4f 52 | 2e 64 75 65 5f 64 61 74 |AL_RECOR|.due_dat|
|00001610| 65 29 20 6f 72 2e 2e 2e | 00 25 43 68 69 6c 64 4e |e) or...|.%ChildN|
|00001620| 4b 28 22 2c 22 2c 2c 6e | 65 77 5f 29 00 4e 6f 74 |K(",",,n|ew_).Not|
|00001630| 6e 75 6c 6c 46 4b 00 0f | 00 25 4e 6f 74 6e 75 6c |nullFK..|.%Notnul|
|00001640| 6c 46 4b 28 29 00 42 61 | 73 69 63 20 53 79 6e 74 |lFK().Ba|sic Synt|
|00001650| 61 78 3a 0d 0a 25 4e 6f | 74 6e 75 6c 6c 46 4b 28 |ax:..%No|tnullFK(|
|00001660| 3c 63 68 69 6c 64 20 74 | 61 62 6c 65 3e 2c 3c 6e |<child t|able>,<n|
|00001670| 6f 74 20 6e 75 6c 6c 20 | 65 78 70 72 65 73 73 69 |ot null |expressi|
|00001680| 6f 6e 3e 29 0d 0a 0d 0a | 42 61 73 69 63 20 53 79 |on>)....|Basic Sy|
|00001690| 6e 74 61 78 20 45 78 61 | 6d 70 6c 65 3a 0d 0a 25 |ntax Exa|mple:..%|
|000016a0| 4e 6f 74 6e 75 6c 6c 46 | 4b 28 25 43 68 69 6c 64 |NotnullF|K(%Child|
|000016b0| 2c 22 69 73 20 6e 6f 74 | 20 6e 75 6c 6c 20 61 6e |,"is not| null an|
|000016c0| 64 22 29 0d 0a 45 78 70 | 61 6e 73 69 6f 6e 3a 0d |d")..Exp|ansion:.|
|000016d0| 0a 4d 4f 56 49 45 5f 52 | 45 4e 54 41 4c 5f 52 45 |.MOVIE_R|ENTAL_RE|
|000016e0| 43 4f 52 2e 6d 61 73 74 | 65 72 5f 6e 75 6d 62 65 |COR.mast|er_numbe|
|000016f0| 72 20 69 73 20 6e 6f 74 | 20 6e 75 6c 6c 20 61 6e |r is not| null an|
|00001700| 64 0d 0a 4d 4f 56 49 45 | 5f 52 45 4e 54 41 4c 5f |d..MOVIE|_RENTAL_|
|00001710| 52 45 43 4f 52 2e 6d 6f | 76 69 65 5f 63 6f 70 79 |RECOR.mo|vie_copy|
|00001720| 5f 6e 75 6d 62 65 72 20 | 69 73 20 6e 6f 74 20 6e |_number |is not n|
|00001730| 75 6c 6c 20 61 6e 64 2e | 2e 2e 0d 0a 0d 0a 46 75 |ull and.|......Fu|
|00001740| 6c 6c 20 53 79 6e 74 61 | 78 3a 0d 0a 25 4e 6f 74 |ll Synta|x:..%Not|
|00001750| 6e 75 6c 6c 46 4b 28 3c | 63 68 69 6c 64 20 74 61 |nullFK(<|child ta|
|00001760| 62 6c 65 3e 2c 3c 6e 6f | 74 20 6e 75 6c 6c 20 65 |ble>,<no|t null e|
|00001770| 78 70 72 65 73 73 69 6f | 6e 3e 2c 3c 70 72 65 66 |xpressio|n>,<pref|
|00001780| 69 78 3e 2c 3c 73 65 70 | 61 72 61 74 6f 72 3e 29 |ix>,<sep|arator>)|
|00001790| 0d 0a 0d 0a 46 75 6c 6c | 20 53 79 6e 74 61 78 20 |....Full| Syntax |
|000017a0| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 4e 6f 74 6e 75 |Example:|..%Notnu|
|000017b0| 6c 6c 46 4b 28 3a 25 4e | 65 77 2c 22 69 73 20 6e |llFK(:%N|ew,"is n|
|000017c0| 75 6c 6c 22 2c 22 77 68 | 65 72 65 22 2c 22 20 6f |ull","wh|ere"," o|
|000017d0| 72 22 29 0d 0a 45 78 70 | 61 6e 73 69 6f 6e 3a 0d |r")..Exp|ansion:.|
|000017e0| 0a 77 68 65 72 65 0d 0a | 20 20 3a 6e 65 77 2e 6d |.where..| :new.m|
|000017f0| 61 73 74 65 72 5f 6e 75 | 6d 62 65 72 20 69 73 20 |aster_nu|mber is |
|00001800| 6e 75 6c 6c 20 6f 72 0d | 0a 20 20 3a 6e 65 77 2e |null or.|. :new.|
|00001810| 6d 6f 76 69 65 5f 63 6f | 70 79 5f 6e 75 6d 62 65 |movie_co|py_numbe|
|00001820| 72 20 69 73 20 6e 75 6c | 6c 00 25 4e 6f 74 6e 75 |r is nul|l.%Notnu|
|00001830| 6c 6c 46 4b 28 25 43 68 | 69 6c 64 2c 22 69 73 20 |llFK(%Ch|ild,"is |
|00001840| 6e 6f 74 20 6e 75 6c 6c | 20 61 6e 64 22 29 00 43 |not null| and").C|
|00001850| 68 69 6c 64 50 61 72 61 | 6d 44 65 63 6c 00 10 00 |hildPara|mDecl...|
|00001860| 25 43 68 69 6c 64 50 61 | 72 61 6d 44 65 63 6c 28 |%ChildPa|ramDecl(|
|00001870| 29 00 42 61 73 69 63 20 | 53 79 6e 74 61 78 3a 0d |).Basic |Syntax:.|
|00001880| 0a 25 43 68 69 6c 64 50 | 61 72 61 6d 44 65 63 6c |.%ChildP|aramDecl|
|00001890| 28 3c 6f 6c 64 20 70 72 | 65 66 69 78 3e 2c 3c 6e |(<old pr|efix>,<n|
|000018a0| 65 77 20 70 72 65 66 69 | 78 3e 29 0d 0a 0d 0a 42 |ew prefi|x>)....B|
|000018b0| 61 73 69 63 20 53 79 6e | 74 61 78 20 45 78 61 6d |asic Syn|tax Exam|
|000018c0| 70 6c 65 3a 0d 0a 25 43 | 68 69 6c 64 50 61 72 61 |ple:..%C|hildPara|
|000018d0| 6d 44 65 63 6c 28 2c 6e | 65 77 29 0d 0a 45 78 70 |mDecl(,n|ew)..Exp|
|000018e0| 61 6e 73 69 6f 6e 3a 0d | 0a 6e 65 77 5f 72 65 6e |ansion:.|.new_ren|
|000018f0| 74 69 6e 67 5f 63 75 73 | 74 6f 6d 65 72 20 49 4e |ting_cus|tomer IN|
|00001900| 54 45 47 45 52 2c 0d 0a | 6e 65 77 5f 6d 61 73 74 |TEGER,..|new_mast|
|00001910| 65 72 5f 6e 75 6d 62 65 | 72 20 49 4e 54 45 47 45 |er_numbe|r INTEGE|
|00001920| 52 2c 0d 0a 6e 65 77 5f | 6d 6f 76 69 65 5f 63 6f |R,..new_|movie_co|
|00001930| 70 79 5f 6e 75 6d 62 65 | 72 20 49 4e 54 45 47 45 |py_numbe|r INTEGE|
|00001940| 52 2c 0d 0a 6e 65 77 5f | 72 65 6e 74 61 6c 5f 72 |R,..new_|rental_r|
|00001950| 65 63 6f 72 64 5f 64 61 | 74 65 20 44 41 54 45 2c |ecord_da|te DATE,|
|00001960| 0d 0a 6e 65 77 5f 72 65 | 6e 74 61 6c 5f 64 61 74 |..new_re|ntal_dat|
|00001970| 65 20 44 41 54 45 0d 0a | 0d 0a 46 75 6c 6c 20 53 |e DATE..|..Full S|
|00001980| 79 6e 74 61 78 3a 0d 0a | 25 43 68 69 6c 64 50 61 |yntax:..|%ChildPa|
|00001990| 72 61 6d 44 65 63 6c 28 | 3c 6f 6c 64 20 70 72 65 |ramDecl(|<old pre|
|000019a0| 66 69 78 3e 2c 3c 6e 65 | 77 20 70 72 65 66 69 78 |fix>,<ne|w prefix|
|000019b0| 3e 2c 3c 73 65 70 61 72 | 61 74 6f 72 3e 2c 3c 61 |>,<separ|ator>,<a|
|000019c0| 74 74 72 69 62 75 74 65 | 2f 74 79 70 65 20 73 65 |ttribute|/type se|
|000019d0| 70 61 72 61 74 6f 72 3e | 29 0d 0a 0d 0a 46 75 6c |parator>|)....Ful|
|000019e0| 6c 20 53 79 6e 74 61 78 | 20 45 78 61 6d 70 6c 65 |l Syntax| Example|
|000019f0| 3a 0d 0a 25 43 68 69 6c | 64 50 61 72 61 6d 44 65 |:..%Chil|dParamDe|
|00001a00| 63 6c 28 2c 6e 65 77 2c | 22 2c 20 22 2c 49 4e 29 |cl(,new,|", ",IN)|
|00001a10| 0d 0a 45 78 70 61 6e 73 | 69 6f 6e 3a 0d 0a 6e 65 |..Expans|ion:..ne|
|00001a20| 77 5f 72 65 6e 74 69 6e | 67 5f 63 75 73 74 6f 6d |w_rentin|g_custom|
|00001a30| 65 72 20 49 4e 20 49 4e | 54 45 47 45 52 2c 0d 0a |er IN IN|TEGER,..|
|00001a40| 6e 65 77 5f 6d 61 73 74 | 65 72 5f 6e 75 6d 62 65 |new_mast|er_numbe|
|00001a50| 72 20 49 4e 20 49 4e 54 | 45 47 45 52 2c 0d 0a 6e |r IN INT|EGER,..n|
|00001a60| 65 77 5f 6d 6f 76 69 65 | 5f 63 6f 70 79 5f 6e 75 |ew_movie|_copy_nu|
|00001a70| 6d 62 65 72 20 49 4e 20 | 49 4e 54 45 47 45 52 2c |mber IN |INTEGER,|
|00001a80| 0d 0a 6e 65 77 5f 72 65 | 6e 74 61 6c 5f 72 65 63 |..new_re|ntal_rec|
|00001a90| 6f 72 64 5f 64 61 74 65 | 20 49 4e 20 44 41 54 45 |ord_date| IN DATE|
|00001aa0| 2c 0d 0a 6e 65 77 5f 72 | 65 6e 74 61 6c 5f 64 61 |,..new_r|ental_da|
|00001ab0| 74 65 20 49 4e 20 44 41 | 54 45 2c 2e 2e 2e 00 25 |te IN DA|TE,....%|
|00001ac0| 43 68 69 6c 64 50 61 72 | 61 6d 44 65 63 6c 28 6f |ChildPar|amDecl(o|
|00001ad0| 6c 64 2c 6e 65 77 29 00 | 50 61 72 65 6e 74 50 61 |ld,new).|ParentPa|
|00001ae0| 72 61 6d 44 65 63 6c 00 | 11 00 25 50 61 72 65 6e |ramDecl.|..%Paren|
|00001af0| 74 50 61 72 61 6d 44 65 | 63 6c 28 29 00 42 61 73 |tParamDe|cl().Bas|
|00001b00| 69 63 20 53 79 6e 74 61 | 78 3a 0d 0a 25 50 61 72 |ic Synta|x:..%Par|
|00001b10| 65 6e 74 50 61 72 61 6d | 44 65 63 6c 28 3c 6f 6c |entParam|Decl(<ol|
|00001b20| 64 20 70 72 65 66 69 78 | 3e 2c 3c 6e 65 77 20 70 |d prefix|>,<new p|
|00001b30| 72 65 66 69 78 3e 29 0d | 0a 0d 0a 42 61 73 69 63 |refix>).|...Basic|
|00001b40| 20 53 79 6e 74 61 78 20 | 45 78 61 6d 70 6c 65 3a | Syntax |Example:|
|00001b50| 0d 0a 25 50 61 72 65 6e | 74 50 61 72 61 6d 44 65 |..%Paren|tParamDe|
|00001b60| 63 6c 28 2c 6e 65 77 29 | 0d 0a 45 78 70 61 6e 73 |cl(,new)|..Expans|
|00001b70| 69 6f 6e 3a 0d 0a 6e 65 | 77 5f 6d 61 73 74 65 72 |ion:..ne|w_master|
|00001b80| 5f 6e 75 6d 62 65 72 20 | 49 4e 54 45 47 45 52 2c |_number |INTEGER,|
|00001b90| 0d 0a 6e 65 77 5f 6d 6f | 76 69 65 5f 63 6f 70 79 |..new_mo|vie_copy|
|00001ba0| 5f 6e 75 6d 62 65 72 20 | 49 4e 54 45 47 45 52 2c |_number |INTEGER,|
|00001bb0| 0d 0a 6e 65 77 5f 67 65 | 6e 65 72 61 6c 5f 63 6f |..new_ge|neral_co|
|00001bc0| 6e 64 69 74 69 6f 6e 20 | 56 41 52 43 48 41 52 28 |ndition |VARCHAR(|
|00001bd0| 31 30 29 0d 0a 0d 0a 46 | 75 6c 6c 20 53 79 6e 74 |10)....F|ull Synt|
|00001be0| 61 78 3a 0d 0a 25 50 61 | 72 65 6e 74 50 61 72 61 |ax:..%Pa|rentPara|
|00001bf0| 6d 44 65 63 6c 28 3c 6f | 6c 64 20 70 72 65 66 69 |mDecl(<o|ld prefi|
|00001c00| 78 3e 2c 3c 6e 65 77 20 | 70 72 65 66 69 78 3e 2c |x>,<new |prefix>,|
|00001c10| 3c 73 65 70 61 72 61 74 | 6f 72 3e 2c 3c 61 74 74 |<separat|or>,<att|
|00001c20| 72 69 62 75 74 65 2f 74 | 79 70 65 20 73 65 70 61 |ribute/t|ype sepa|
|00001c30| 72 61 74 6f 72 3e 29 0d | 0a 0d 0a 46 75 6c 6c 20 |rator>).|...Full |
|00001c40| 53 79 6e 74 61 78 20 45 | 78 61 6d 70 6c 65 3a 0d |Syntax E|xample:.|
|00001c50| 0a 25 50 61 72 65 6e 74 | 50 61 72 61 6d 44 65 63 |.%Parent|ParamDec|
|00001c60| 6c 28 2c 6e 65 77 2c 22 | 2c 20 22 2c 49 4e 29 0d |l(,new,"|, ",IN).|
|00001c70| 0a 45 78 70 61 6e 73 69 | 6f 6e 3a 0d 0a 6e 65 77 |.Expansi|on:..new|
|00001c80| 5f 6d 61 73 74 65 72 5f | 6e 75 6d 62 65 72 20 49 |_master_|number I|
|00001c90| 4e 20 49 4e 54 45 47 45 | 52 2c 0d 0a 6e 65 77 5f |N INTEGE|R,..new_|
|00001ca0| 6d 6f 76 69 65 5f 63 6f | 70 79 5f 6e 75 6d 62 65 |movie_co|py_numbe|
|00001cb0| 72 20 49 4e 20 49 4e 54 | 45 47 45 52 2c 0d 0a 6e |r IN INT|EGER,..n|
|00001cc0| 65 77 5f 67 65 6e 65 72 | 61 6c 5f 63 6f 6e 64 69 |ew_gener|al_condi|
|00001cd0| 74 69 6f 6e 20 49 4e 20 | 56 41 52 43 48 41 52 28 |tion IN |VARCHAR(|
|00001ce0| 31 30 29 00 25 50 61 72 | 65 6e 74 50 61 72 61 6d |10).%Par|entParam|
|00001cf0| 44 65 63 6c 28 6f 6c 64 | 2c 6e 65 77 29 00 00 a5 |Decl(old|,new)...|
|00001d00| 00 | |. | |
+--------+-------------------------+-------------------------+--------+--------+